/*
 * smhc.h
 *
 *  Created on: Apr 26, 2022
 *      Author: gewenbin
 */

#ifndef SYLIXOS_DRIVER_SDI_SMHC_H_
#define SYLIXOS_DRIVER_SDI_SMHC_H_

void sunxi_mmc0_init(void);
void sunxi_mmc0_buswidth_set(int width);
int sunxi_mmc0_clock_set(int hz);
int sunxi_mmc0_xfer(LW_SD_MESSAGE *mrq);

#endif /* SYLIXOS_DRIVER_SDI_SMHC_H_ */
